﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="GamesByCategory.aspx.cs" Inherits="FlashGameSite.FormGamesByCategory" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="content">
        <div class="block">
            <div class="block-bot">
                <div class="head">
                    <div class="head-cnt">
                        <h3 runat="server" id="htitle"></h3>
                        <div class="cl">
                            &nbsp;
                        </div>
                    </div>
                </div>
                <div class="col-articles articles">
                    <div class="cl">
                        &nbsp;
                    </div>
                    <asp:DataList ID="GridGames" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                        <ItemTemplate>
                            <div style="margin:10px;">
                                <div class="image">
                                    <a href="PlayGame.aspx?gameid=<%# DataBinder.Eval(Container.DataItem, "GameID")%>">
                                        <img src="gameimage/<%# DataBinder.Eval(Container.DataItem, "ImageUrl")%>" alt="" /></a>
                                </div>
                                <br />
                                <a href="PlayGame.aspx?gameid=<%# DataBinder.Eval(Container.DataItem, "GameID")%>"><%# DataBinder.Eval(Container.DataItem, "Title")%></a>
                            </div>
                        </ItemTemplate>
                    </asp:DataList>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
